<me:UIWDECK  x:Class="WPFExcelReport.TWDI2PR"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
     xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"
     xmlns:Localization="clr-namespace:Localization;assembly=Localization"
     xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
     xmlns:me="clr-namespace:WPFExcelReport"
     xmlns:PR="clr-namespace:WPFExcelReport;assembly=TICC_PRULES"   
     xmlns:WS="clr-namespace:WPFExcelReport;assembly=TWASTAMM"  
     xmlns:WD="clr-namespace:WPFExcelReport;assembly=TWDECK"  
     xmlns:WA="clr-namespace:WPFExcelReport;assembly=TWAFARBEN"  
     xmlns:MU="clr-namespace:WPFExcelReport;assembly=TABAUFM"  
     Loaded="Window_Loaded"
     x:Name="TV" 
 >
    <me:UIWDECK.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:NOTConverter x:Key="not"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:NOTBoolToVisibilityConverter x:Key="nbv"/>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
        <ucd:TextTrimmingConverter  x:Key="Trim"/>
    </me:UIWDECK.Resources>
    <TabControl>
        <TabItem Header="{Binding Source={Localization:Translate Word=织造计划单}}">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition   Height="Auto" />
                <RowDefinition   Height="Auto" />
            </Grid.RowDefinitions>
            <WrapPanel>
                <Button Grid.Column="1" Height="20"  Width="Auto" Margin="10,0,0,0"  Click="NewCommand" Content="{Binding Source={Localization:Translate Word=织造分卡}}"/>
                <ex:NumericBox Margin="10,0,0,0" Text="{Binding QTY,ElementName=TV}" DecimalPlaces="0" Width="60"/>
                <TextBlock Margin="10,0,0,0" Text="{Binding Source={Localization:Translate Word=M}}"/>
            </WrapPanel>
        </Grid>
        </TabItem>
    </TabControl>
   
</me:UIWDECK>
